package cn.itsource.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author : 张金铭
 * @description :
 * @create :2022-11-20 17:27:00
 */
@Data
@TableName("t_search_master_message")
public class SearchMasterMessage{
    private Long id;
    private String name;
    private Double price;
    private String age;
    private Boolean gender;
    private String coatColor;//毛色
    private String resources; //图片
    private Long petType;//种类
    @TableField(exist = false)
    private List<String> petTypeIds;
    private String title;//标题
    private Integer state;//状态
    private String address;//地址
    private Long userId;//发布人id
    private Long shopId;//接收店铺id
    private LocalDateTime createTime = LocalDateTime.now();//创建时间,默认现在
    @TableField(exist = false)
    private String petTypeName;
    @TableField(exist = false)
    private String genderName;
}
